package com.xnfh.home.viewmodel

import com.xnfh.common.bean.NzGlBean
import com.xnfh.framework.bean.RespStateData
import com.xnfh.network.base.BaseRepository
import com.xnfh.network.manager.ApiManager
import okhttp3.RequestBody

/**
 * @Description:
 * @Author: ziheng
 * @CreateDate: 2023/12/28 18:04
 * @UpdateUser: ziheng
 * @UpdateDate: 2023/12/28 18:04
 * @UpdateRemark: 更新说明
 */
class AgriculturalGlViewModelRes: BaseRepository() {

    suspend fun requestNzList(body: RequestBody,data: RespStateData<NzGlBean>) = dealResp(
        {ApiManager.api.requestNzList(body)},data
    )
}